package com.qm.hibernate;

import java.util.Date;

/**
 * Tpostcomment entity. @author MyEclipse Persistence Tools
 */

public class Tpostcomment implements java.io.Serializable {

	// Fields

	private Integer pcid;
	private Tpost tpost;
	private Tuser tuser;
	private Date time;
	private String content;

	// Constructors

	/** default constructor */
	public Tpostcomment() {
	}

	/** full constructor */
	public Tpostcomment(Tpost tpost, Tuser tuser, Date time, String content) {
		this.tpost = tpost;
		this.tuser = tuser;
		this.time = time;
		this.content = content;
	}

	// Property accessors

	public Integer getPcid() {
		return this.pcid;
	}

	public void setPcid(Integer pcid) {
		this.pcid = pcid;
	}

	public Tpost getTpost() {
		return this.tpost;
	}

	public void setTpost(Tpost tpost) {
		this.tpost = tpost;
	}

	public Tuser getTuser() {
		return this.tuser;
	}

	public void setTuser(Tuser tuser) {
		this.tuser = tuser;
	}

	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}